package com.fastjrun.tx;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.fastjrun.common.RestException;
import com.fastjrun.packet.BaseRequestBody;
import com.fastjrun.packet.BaseResponse;
import com.fastjrun.packet.BaseResponseBody;
import com.fastjrun.packet.BaseTXRequest;

public abstract class BaseTX {
    protected final Log log = LogFactory.getLog(this.getClass());

    public abstract BaseResponse<? extends BaseResponseBody> process(
            BaseTXRequest<? extends BaseRequestBody> request) throws RestException;

}
